package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * (SecondsKill)实体类
 *
 * @author makejava
 * @since 2020-11-25 17:24:23
 */
@ApiModel(value = "秒杀实体类")
public class SecondsKill implements Serializable {
    private static final long serialVersionUID = -55584493424704252L;
    /**
     * 秒杀（主键）
     */
    @ApiModelProperty(name = "skId",notes = "秒杀（主键）",value = "秒杀（主键）",required = true)
    private Integer skId;
    /**
     * 秒杀价格
     */
    @ApiModelProperty(name = "skPrice",notes = "秒杀价格",value = "秒杀价格",required = true)
    private Object skPrice;
    /**
     * 秒杀库存
     */
    @ApiModelProperty(name = "skIt",notes = "秒杀库存",value = "秒杀库存",required = true)
    private Integer skIt;
    /**
     * 秒杀规则
     */
    @ApiModelProperty(name = "skRuler",notes = "秒杀规则",value = "秒杀规则",required = true)
    private String skRuler;
    /**
     * 操作状态（1：未删除；0：已删除）
     */
    @ApiModelProperty(name = "skMkstatus",notes = "操作状态（1：未删除；0：已删除）",value = "操作状态（1：未删除；0：已删除）",required = false)
    private Integer skMkstatus;
    /**
     * 活动日期起
     */
    @ApiModelProperty(name = "skAst",notes = "活动日期起",value = "活动日期起",required = true)
    private Date skAst;
    /**
     * 活动日期始
     */
    @ApiModelProperty(name = "skAed",notes = "活动日期始",value = "活动日期始",required = true)
    private Date skAed;
    /**
     * 团购人数
     */
    @ApiModelProperty(name = "skBuskcount",notes = "团购人数",value = "团购人数",required = true)
    private Integer skBuskcount;
    /**
     * 秒杀状态（1：进行中；2：尚未开始；3：进行中（已售罄）；4：已结束）
     */
    @ApiModelProperty(name = "skStatus",notes = "秒杀状态（1：进行中；2：尚未开始；3：进行中（已售罄）；4：已结束）",value = "秒杀状态（1：进行中；2：尚未开始；3：进行中（已售罄）；4：已结束）",required = false)
    private Integer skStatus;
    /**
     * 已秒数量
     */
    @ApiModelProperty(name = "skNum",notes = "已秒数量",value = "已秒数量",required = false)
    private Integer skNum;
    /**
     * 商品id（外键）
     */
    @ApiModelProperty(name = "goodsId",notes = "商品id（外键）)",value = "商品id（外键）)",required = false)
    private Integer goodsId;

    @ApiModelProperty(name = "goods",notes = "商品实体类",value = "商品实体类",required = false)
    private Goods goods;


    public Integer getSkId() {
        return skId;
    }

    public void setSkId(Integer skId) {
        this.skId = skId;
    }

    public Object getSkPrice() {
        return skPrice;
    }

    public void setSkPrice(Object skPrice) {
        this.skPrice = skPrice;
    }

    public Integer getSkIt() {
        return skIt;
    }

    public void setSkIt(Integer skIt) {
        this.skIt = skIt;
    }

    public String getSkRuler() {
        return skRuler;
    }

    public void setSkRuler(String skRuler) {
        this.skRuler = skRuler;
    }

    public Integer getSkMkstatus() {
        return skMkstatus;
    }

    public void setSkMkstatus(Integer skMkstatus) {
        this.skMkstatus = skMkstatus;
    }

    public Date getSkAst() {
        return skAst;
    }

    public void setSkAst(Date skAst) {
        this.skAst = skAst;
    }

    public Date getSkAed() {
        return skAed;
    }

    public void setSkAed(Date skAed) {
        this.skAed = skAed;
    }

    public Integer getSkBuskcount() {
        return skBuskcount;
    }

    public void setSkBuskcount(Integer skBuskcount) {
        this.skBuskcount = skBuskcount;
    }

    public Integer getSkStatus() {
        return skStatus;
    }

    public void setSkStatus(Integer skStatus) {
        this.skStatus = skStatus;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getSkNum() {
        return skNum;
    }

    public void setSkNum(Integer skNum) {
        this.skNum = skNum;
    }

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    @Override
    public String toString() {
        return "SecondsKill{" +
                "skId=" + skId +
                ", skPrice=" + skPrice +
                ", skIt=" + skIt +
                ", skRuler='" + skRuler + '\'' +
                ", skMkstatus=" + skMkstatus +
                ", skAst=" + skAst +
                ", skAed=" + skAed +
                ", skBuskcount=" + skBuskcount +
                ", skStatus=" + skStatus +
                ", skNum=" + skNum +
                ", goodsId=" + goodsId +
                ", goods=" + goods +
                '}';
    }
}